<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%-- 
<%= "Path:"+path%>
<%= "basePath:"+basePath%>
--%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>read-note starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="开始共享阅读心得">
	<meta http-equiv="description" content="开始共享阅读心得">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  
  <body>
	<div style="width: 980px;text-align: left;">
	    
	    This is my read-note . <br>
	    <br/>
	    <h1>管理员登录入口</h1>
		<s:fielderror />
		<s:form action="logon" namespace="/admin" method="post">
			用户名：<s:textfield name="user.loginName" size="20" />
			密  码：<s:password name="user.password" size="20"  />
			<input type="submit" value="登录"/> 
			<br>
		</s:form>
		
	</div>
	
  </body>
</html>
